package com.aspose.cells;

class zbbf implements zahu {
   private static int[] a = new int[]{0, 16, 32, 48, 64, 80, 96, 112, 128, 144, 160, 176, 192, 208, 224, 240, 256, 272, 288, 304, 320, 336, 352, 368, 384, 400, 416, 432, 448, 464, 480, 496, 512, 528, 544, 560, 576, 592, 608, 624, 634, 634, 634, 634, 634};
   private double b;

   public zbbf(double var1) {
      this.b = var1 / 16.0D;
   }

   public void a(double var1) {
      this.b = var1 / 16.0D;
   }

   public int a(int var1) {
      return var1 < a.length ? a[var1] : var1 << 4;
   }

   public int b(int var1) {
      return (int)((double)var1 / this.b);
   }

   public double c(int var1) {
      return (double)var1 / 320.0D;
   }

   public double d(int var1) {
      return (double)var1 / 23040.0D;
   }

   public int e(int var1) {
      return (int)((double)var1 * this.b);
   }

   public static boolean f(int var0) {
      return var0 > 40 && var0 < a.length;
   }
}
